<?php $this->load->view('admin/_header2') ?>

<table id="tt" class="easyui-datagrid" style="width:600px;height:auto;">
	<thead>
	<tr height=32 >
		
		<th field="name0" align=center  width=30 ></th>
		<th field="name1" align=center  width=50 >ClassCode</th>
		<th field="name2" align=center  width=80 >freeseat</th>
		<th field="name3" align=center  width=80>usedseat</th>
		<th field="name4" align=center  width=80 >totalseat</th>
		<th field="name5" align=center  width=80>ClassNote</th>		
		<th field="name6" align=center  width=80>Price</th>
		<th field="name7" align=center  width=80>Status</th>
	</tr>
	</thead>
	<tbody>
	<?php
	
	$index=0;
	foreach($result as $item)
	{
		//print_r($result);
		$index++;
		
		//exit();
	?><tr align=center >
		<td><?=$index ?></td>
		<td><?=$item['ClassCode']  ?></td>
		<td><?=$item['freeseat'] ?></td>
		<td><?=$item['usedseat']  ?></td>
		<td><?=$item['totalseat']?></td>
		<td><?=$item['ClassNote']?></td>
		<td><?=round($item['Price'],2) ?></td>
		<td><?=$item['Status'] ?></td>
	</tr>
	
	<?php
	
	}
	?></tbody>
</table>
<script language="javascript">

</script>
<?php $this->load->view('admin/_footer1') ?>
